package com.autumn.annotations.leetcode.basic;

/**
 * ClassName: TreeNode
 *
 * @Description:
 * @Author: wangqiuyang
 * @Date: 2022/1/19 7:55 下午
 * History:
 * <author>          <time>          <version>          <desc>
 * wangqiuyang    2022/1/19 7:55 下午   @Version 1.0        描述
 */
public class TreeNode {
    public int val;
    public TreeNode left;
    public TreeNode right;

    public TreeNode() {
    }

    public TreeNode(int val) {
        this.val = val;
    }

    TreeNode(int val, TreeNode left, TreeNode right) {
        this.val = val;
        this.left = left;
        this.right = right;
    }
}
